Make sure read-symbol-shorthands is permanently local
authorJoão Távora <joaotavora@gmail.com>
Thu, 30 Nov 2023 12:00:44 +0000 (06:00 -0600)
committerJoão Távora <joaotavora@gmail.com>
Sat, 3 Feb 2024 14:40:03 +0000 (08:40 -0600)
bug#63480, bug#67390

* lisp/files.el (permanently-enabled-local-variables): Add
  read-symbol-shorthands.

lisp/files.el

index 9c8914bfc50b53e26255bd9fa7ed205b1de777e8..fd9088206d77d5121a640bf2e70e218dd0207407 100644 (file)
@@ -3754,7 +3754,8 @@ function is allowed to change the contents of this alist.
 This hook is called only if there is at least one file-local
 variable to set.")
 
-(defvar permanently-enabled-local-variables '(lexical-binding)
+(defvar permanently-enabled-local-variables
+  '(lexical-binding read-symbol-shorthands)
   "A list of file-local variables that are always enabled.
 This overrides any `enable-local-variables' setting.")